package com.hyy;

import com.hyy.blog.api.BlogServiceApi;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@EnableFeignClients(clients=BlogServiceApi.class)
@SpringBootApplication
//@ComponentScan(basePackages = {"com.hyy.common.advice"}) // 只扫描 com.hyy.config 包
public class UserServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(UserServiceApplication.class, args);
	}

}
